
<?php
    $header_class = is_home() ? "major" : "minor";
    $template_uri = get_template_directory_uri();
?>

<!DOCTYPE html>
<!--[if IE 7]>
<html class="ie ie7" <?php language_attributes(); ?>>
<![endif]-->
<!--[if IE 8]>
<html class="ie ie8" <?php language_attributes(); ?>>
<![endif]-->
<!--[if !(IE 7) & !(IE 8)]><!-->
<html <?php language_attributes(); ?>>
<!--<![endif]-->
<head>
	<meta charset="<?php bloginfo( 'charset' ); ?>">
	<meta name="viewport" content="width=device-width">
	<title><?php wp_title(''); ?> <?php echo is_home() ? '' : '|'; ?> <?php bloginfo('name'); ?></title>
	<link rel="profile" href="http://gmpg.org/xfn/11">
	<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
	<!--[if lt IE 9]>
	<script src="<?php echo get_template_directory_uri(); ?>/js/html5.js"></script>
	<![endif]-->
	<?php wp_head(); ?>
	<!--[if (gte IE 9)]>
	<link rel='stylesheet' href='<?php echo $template_uri; ?>/style-ie9.css' type='text/css' media='all' />
	<![endif]-->
	<?php if ( is_home() ) { include('header-extra.php'); } ?>
	<link type="image/x-icon" href="<?php echo $template_uri; ?>/img/favicon.ico" rel="shortcut icon" />
</head>

<body <?php body_class(); ?>>
	<div id="page" class="hfeed site">
		<header id="masthead" class="site-header-<?php echo $header_class; ?>" role="banner">
			<?php if ( is_home() ) { usa_the_shortcode_content('[slider id="337" name="Home Header slider" size="full"]'); } ?>
			<div id="navbar" class="navbar navbar-<?php echo $header_class; ?>">
				<nav id="site-navigation" class="navigation-<?php echo $header_class; ?>" role="navigation">
					<?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu' ) ); ?>

				</nav><!-- #site-navigation -->
			</div><!-- #navbar -->
			<a href="index.php"  class="home_logo home_logo-<?php echo $header_class; ?>"></a>
		</header><!-- #masthead -->

		<div id="main" class="site-main">
